package com.rockcent.model;

import com.rockcent.model.constant.BooleanType;
import com.rockcent.model.constant.MessageType;

import java.io.Serializable;

public class MessageBO implements Serializable {
    private static final long serialVersionUID = -8841888362980637434L;
    private int id;//消息ID
    private String title;//标题
    private String content;//内容
    private BooleanType readed;//是否已读，
    private MessageType type;//类型
    private long createDate;//发送时间
    private long createTime;//返送时间戳

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public BooleanType getReaded() {
        return readed;
    }

    public void setReaded(BooleanType readed) {
        this.readed = readed;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(long createDate) {
        this.createDate = createDate;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
